import LinkedList from '../utils/data-structures/linkedList.js'
import { run } from '../utils/util.js'

const list = new LinkedList()
list.push(15)
list.push(10)
// run(list)

// list.removeAt(1)
// run(list)

list.insert(9, 2)
// run('insert', list.insert(9, 1))
// run(list)

run('list.indexOf(9)', list.indexOf(9))

run(list.getHead())
run(list.remove(10))
run(list.size())
run(list.isEmpty())
run(list.toString())

list.clear()
run(list)
